﻿using System;
using System.Collections.Generic;

namespace YArchitech.MEP.Electric.Common
{
	public class HyKeyValuePair<TKey, TValue>
	{
		public HyKeyValuePair(TKey key, TValue value)
		{
			this.pair = new KeyValuePair<TKey, TValue>(key, value);
		}

		public TKey Key
		{
			get
			{
				return this.pair.Key;
			}
		}

		public TValue Value
		{
			get
			{
				return this.pair.Value;
			}
		}

		public override string ToString()
		{
			TKey key = this.pair.Key;
			return key.ToString();
		}

		private KeyValuePair<TKey, TValue> pair;
	}
}
